#pragma once

#include <bofcl_btimer_r.h>

typedef struct {
	u64_s current_time;
	u64_s inter_time;
} btimer_expl_t;

_Static_assert(sizeof(btimer_expl_t) == 0x10,
	       "Struct btimer_expl_t defined error!");

static inline volatile btimer_expl_t* btimer_cast_expl_p_by_q(u32_s btimer_q) {
	return (volatile btimer_expl_t*)btimer_q;
}
